//
//  CampusVlogDetailCell.h
//  ShowYork
//
//  Created by hxh on 2021/3/29.
//  Copyright © 2021 hxh. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CampusSchoolVideoItemModel.h"
NS_ASSUME_NONNULL_BEGIN

@protocol CampusVlogDetailCellDelegate <NSObject>

@optional
- (void)videoItemBeginDraging;
- (void)videoItemChangeProgressValue:(CGFloat)value;
- (void)videoItemUpdateProgressValue:(CGFloat)value;
- (void)videoItemLikeWithCurrentModel:(CampusSchoolVideoItemModel *)itemModel;
- (void)videoItemDissWithCurrentModel:(CampusSchoolVideoItemModel *)itemModel;
- (void)videoItemShareWithCurrentModel:(CampusSchoolVideoItemModel *)itemModel;

@end

@interface CampusVlogDetailCell : UITableViewCell
+(instancetype)cellWithTableView:(UITableView *)tableView;
- (void)updateProgressValue:(CGFloat)value;
@property (nonatomic,weak)id<CampusVlogDetailCellDelegate>delegate;
@property (nonatomic,strong)CampusSchoolVideoItemModel *model;
@end

NS_ASSUME_NONNULL_END
